/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package session;

import entities.BookTables;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author TANGQUOCTUAN
 */
@Local
public interface BookTablesFacadeLocal {

    void create(BookTables bookTables);

    void edit(BookTables bookTables);

    void remove(BookTables bookTables);

    BookTables find(Object id);

    List<BookTables> findAll();

    List<BookTables> findRange(int[] range);

    int count();

    List showBookTable();

    boolean insertbooktable(int noSeats,int resID,String custID,Date orderDate,BigDecimal reserveFee);

    List getResName();

    List<BookTables> showallbyID(String username);

    boolean updateTable(Integer id, boolean status);

    List<BookTables> reportShowBookRoom(Date fromdate, Date todate);
}
